package com.ticket.service.auth.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.ticket.service.auth.domain.UserAccount;

public interface UserAccountRepository extends JpaRepository<UserAccount, Long> {

	@Query(value="from UserAccount u where u.username=:username")
	UserAccount findUserByName(String username);
}
